#include<iostream>
#include<sstream>
#include<cstdio>
#include<cstdlib>
#include<string>
#include<cstring>
#include<cmath>
#include<ctime>
#include<algorithm>
#include<utility>
#include<stack>
#include<queue>
#include<deque>
#include<vector>
#include<set>
#include<map>
#define ll long long 
using namespace std;
const int max =0x7fffffff;
char a[5]={'a','e','i','o','u'};
int s[4]={0,1,0,1};
bool alp(char ch)
{
	int i;
	for(i=0;i<5;i++)
	{
		if(ch==a[i])
		return true;
	}
	return false;
}
int main()
{
	string str;
	cin>>str;
	int count=0,i;
	if(!alp(str[0]))
	{
		for(i=1;i<str.size();i++)
		{
		 	if(count==4)
			break;
			int temp=alp(str[i]);
			if(temp!=s[count])
			count++;
		}
		if(i==str.size()&&count==3)
		{
			cout<<"yes"<<endl;
		}
		else
		{
			cout<<"no"<<endl;
		}
	}
	else
	{
		cout<<"no"<<endl;
	}
	return 0;
}
